package com.xty.subject.concrereSubject;

import lombok.extern.slf4j.Slf4j;

/**
 * Created By IntelliJ IDEA
 *
 * @author 许腾洋
 * @date 2021/11/22
 * description:
 */
@Slf4j
public class Subject1 extends ConcrereSubject {

    /**
     * 被观察者自身业务操作
     */
    @Override
    public void operation() {
        log.info("Subject1执行操作");
        notify("Subject1执行结果");
    }
}
